package com.lanxin.zc.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2025-07-16
 */
@TableName("zc_assetpurchaseapplydetails")
public class ZcAssetpurchaseapplydetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    private Integer parentid;
    @TableField("assetName")
    private String assetName;
    @TableField("assetNumber")
    private String assetNumber;

    private String guige;
    @TableField("unitPrice")
    private BigDecimal unitPrice;

    private Integer quantity;
    @TableField("purchaseDate")
    private LocalDate purchaseDate;

    @TableField(exist = false)
    private List<ZcAssetbaojia> baojiaList;

    public List<ZcAssetbaojia> getBaojiaList() {
        return baojiaList;
    }

    public void setBaojiaList(List<ZcAssetbaojia> baojiaList) {
        this.baojiaList = baojiaList;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }
    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }
    public String getAssetName() {
        return assetName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }
    public String getAssetNumber() {
        return assetNumber;
    }

    public void setAssetNumber(String assetNumber) {
        this.assetNumber = assetNumber;
    }
    public String getGuige() {
        return guige;
    }

    public void setGuige(String guige) {
        this.guige = guige;
    }
    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }
    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
    public LocalDate getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(LocalDate purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    @Override
    public String toString() {
        return "ZcAssetpurchaseapplydetails{" +
            "oid=" + oid +
            ", parentid=" + parentid +
            ", assetName=" + assetName +
            ", assetNumber=" + assetNumber +
            ", guige=" + guige +
            ", unitPrice=" + unitPrice +
            ", quantity=" + quantity +
            ", purchaseDate=" + purchaseDate +
        "}";
    }
}
